
<date-range (dateEmit)="dateOnChange($event)"></date-range>

<!-- day -->
<div *ngIf="timeType == 'day'">
  <shop-history [date]="data"></shop-history>
</div>

<!-- month -->
<div *ngIf="timeType == 'month'">
  <shop-month-history [date]="data"></shop-month-history>
</div>
